package com.buba.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 服务单
 * </p>
 *
 * @author MrJia
 * @since 2020-10-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ServerOrder对象", description="服务单")
public class ServerOrder implements Serializable {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "服务单名称")
    private String name;

    @ApiModelProperty(value = "电话号码")
    private String phone;

    @ApiModelProperty(value = "其他电话")
    private String otherPhone;

    @ApiModelProperty(value = "省id")
    private String provinceId;

    @ApiModelProperty(value = "市id")
    private String cityId;

    @ApiModelProperty(value = "县id")
    private String countyId;

    @ApiModelProperty(value = "详情地址")
    private String detailsAddress;

    @ApiModelProperty(value = "关联单号1")
    private String code1;

    @ApiModelProperty(value = "关联单号2")
    private String code2;

    @ApiModelProperty(value = "服务类型")
    private String serviceType;

    @ApiModelProperty(value = "质保标志")
    private String warranty;

    @ApiModelProperty(value = "品牌")
    private String brandId;

    @ApiModelProperty(value = "产品层次")
    private String productLevel;

    @ApiModelProperty(value = "产品型号")
    private String productModel;

    @ApiModelProperty(value = "预约时")
    private Date appointment;

    @ApiModelProperty(value = "预约时间")
    private Date homeTime;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "购买日期")
    private String purchaseDate;

    @ApiModelProperty(value = "购买渠道")
    private String theWayOfBuying;

    @ApiModelProperty(value = "妥投日期")
    private Date dueDate;

    @ApiModelProperty(value = "服务时长")
    private Date serviceTime;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

    @ApiModelProperty(value = "版本")
    @Version
    private Integer version;

    @ApiModelProperty(value = "0未删除/1已删除")
    @TableLogic
    @TableField("is_deleted")
    private Integer isDeleted;

    @ApiModelProperty(value = "工程师id")
    private String engineerId;

    @ApiModelProperty(value = "创建人id")
    private String userId;

    @ApiModelProperty(value = "消单id")
    private String eoId;


}
